SendMail("mjtest@gmail.com", "just another test", "yet another test")

on SendMail(_to, _subject, _body)
	
	tell application "Mail"
		set msg to make new outgoing message with properties {visible:false, subject:_subject, content:_body}
		tell msg to make new recipient at end of to recipients with properties {address:_to}
		send msg
	end tell
end SendMail